<?php

class TagAdmin extends AdminBase {
	private $nohf = [];

	public function __construct() {
		if(!in_array(N_ACTION,$this->nohf)){
			n_mod('skin')->header('admin');
		}
	}

	public function group() {
		$mysql = n_api('mysql')->cname('weixin');
		$rs = $mysql->select("select tag_name from tag_first_group where isdel = 'N' order by ctime desc");
		
		$this->_html('group');
	}

	public function __destruct(){
		//加入标准尾。
		if(!in_array(N_ACTION,$this->nohf) && 'page'==N_TYPE){
			n_mod('skin')->footer();
		}
	}
}